package com.demo.model.entity.es;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author cyj
 **/
@Data
@Accessors(chain = true)
public class OrderDetail {

    @NotNull(message = "订单id不能为空")
    private Long orderId;
    @NotNull(message = "sku不能为空")
    private String sku;
    private String name;
}
